package com.joysuch.wwyt.api.mh.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;

import static javax.persistence.GenerationType.IDENTITY;

@Data
public class MhPlatformFieldBean implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("平台id")
    private Long platformId;

    @ApiModelProperty("平台字段名")
    private String fieldName;

    @ApiModelProperty("映射字段名")
    private String mapFieldName;

    @ApiModelProperty("固定值")
    private String fixedValue;

    @ApiModelProperty("格式")
    private String format;

    @ApiModelProperty("父级字段id")
    private Long parentId;

    @ApiModelProperty("父级字段名称")
    private String parentName;

    @ApiModelProperty("字段数据类型:List,String,Date,Json,Number,UUID")
    private String dataType;

//    @ApiModelProperty("删除标记:修改平台保存是,该字段如果删除传0")
//    private Integer flag;
}
